<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.util.*, com.zjr.domain.*"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type="text/css" rel="stylesheet" href="<%=path %>/skin/css/base_style.css" />
<link type="text/css" rel="stylesheet" href="<%=path %>/skin/css/table.css" />
<script type="text/javascript" src="<%=path %>/skin/js/jquery-1.7.1.js"></script>
<script type="text/javascript" src="<%=path %>/skin/js/table.js"></script>
<title>部门列表</title>
<%
	HashMap<String, Integer> departmentNum = (HashMap<String, Integer>)request.getAttribute("departmentNum");
	HttpSession userSession = request.getSession();
	User user = (User)userSession.getAttribute("user");
	if(user.getPosition() < 2){
		response.sendRedirect(path+"/user/user_warn.jsp");
	}
%>
</head>
<body>
	<table class="tab">
		<tr>
	        <th class="tab_th fyh">
	        	<a href="DepartmentSerlvet?flag=find&did=1" style="text-decoration: none">技术部</a>
	        </th>
	        <th class="tab_th fyh">
	        	<a href="DepartmentSerlvet?flag=find&did=2" style="text-decoration: none">研发部</a>
	        </th>
	        <th class="tab_th fyh">
	        	<a href="DepartmentSerlvet?flag=find&did=3" style="text-decoration: none">人事部</a>
	        </th>
	        <th class="tab_th fyh">
	        	<a href="DepartmentSerlvet?flag=find&did=4" style="text-decoration: none">财务部</a>
	        </th>
	        <th class="tab_th fyh">
	        	<a href="DepartmentSerlvet?flag=find&did=5" style="text-decoration: none">行政部</a>
	        </th>
    	</tr>
    	<tr>
    		<td class="tab_td1 fyh"><%=departmentNum.get("技术部") %>人</td>
    		<td class="tab_td1 fyh"><%=departmentNum.get("研发部") %>人</td>
    		<td class="tab_td1 fyh"><%=departmentNum.get("人事部") %>人</td>
    		<td class="tab_td1 fyh"><%=departmentNum.get("财务部") %>人</td>
    		<td class="tab_td1 fyh"><%=departmentNum.get("行政部") %>人</td>
    	</tr>
    	<tr>
    		
    	</tr>
    </table>
</body>
</html>